/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.equipment.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 日志命令Entity
 * @author unnamed
 * @version 2017-07-05
 */
public class EleEquipmentCommand extends DataEntity<EleEquipmentCommand> {
	
	private static final long serialVersionUID = 1L;
	private String equipmentId;		// equipment_id
	private String type;		// type
	private String mac;
	
	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public EleEquipmentCommand() {
		super();
	}

	public EleEquipmentCommand(String id){
		super(id);
	}

	@Length(min=1, max=100, message="equipment_id长度必须介于 1 和 100 之间")
	public String getEquipmentId() {
		return equipmentId;
	}

	public void setEquipmentId(String equipmentId) {
		this.equipmentId = equipmentId;
	}
	
	@Length(min=1, max=100, message="type长度必须介于 1 和 100 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
}